package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 修改推荐商品排序值入参类
 * @Author: zhuchi
 * @CreateDate: 2020/12/14 14:14
 * @Version: 1.0
 */
@Data
@ApiModel(value = "修改推荐商品排序值入参类")
public class UpdateRecommendProductSortModel {

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    @NotNull(message = "请选择要排序的商品")
    private Long productId;

    /**
     * 请填写排序值
     */
    @ApiModelProperty(value = "排序值")
    @NotNull(message = "请填写排序值")
    private Integer sort;

    /**
     * 请填写推荐类型
     */
    @ApiModelProperty(value = "排序值")
    @NotNull(message = "请填写推荐类型")
    private Integer type;

}
